package com.baizhi.service;

import com.baizhi.entity.Video;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface VideoService {
    //分页查
    Map<String,Object> queryByPage(int page, int size);

    //添加视频
    void add(MultipartFile file,Video video);

    //删除视频
    void delete(String id,String videoPath,String coverPath);
}
